package com.goktech.olala.enums;

/**
 * @author wyn
 */
public enum PayTypeEnum {
    /**
     * 现金
     */
    CASH("现金", 1),
    /**
     * 账户余额
     */
    BALANCE("账户余额", 2),
    /**
     * 网银
     */
    ONLINE_BANKING("网银", 3),
    /**
     * 支付宝
     */
    ZFB("支付宝", 4),
    /**
     * 微信
     */
    WX("微信", 5);

    private String value;
    private Integer code;

    private PayTypeEnum(String value, Integer code){
        this.value = value;
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
